var mongoose = require('mongoose'),
    Schema = mongoose.Schema,
    ObjectId = mongoose.Schema.Types.ObjectId;

var schema = Schema({
    _id : ObjectId,
    name:  {type:String ,default:'undefined', index: true}
});

mongoose.model('tag', schema);